package com.security.door.service.Impl;

import com.security.door.core.base.BaseService;
import com.security.door.dao.mapper.baseDatadictMapper;
import com.security.door.model.domain.baseDatadict;
import com.security.door.model.vo.baseDictTreeVo;
import com.security.door.model.vo.treeViewVo;
import com.security.door.service.IbaseDatadictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class baseDatadictServiceImpl extends BaseService<baseDatadict> implements IbaseDatadictService {

    @Autowired
    baseDatadictMapper ibaseDatadictMapper;

    @Override
    public List<baseDictTreeVo> selectTreeList(){
        return ibaseDatadictMapper.selectTreeList();
    }

    @Override
    public int getMaxModelkey() {
        return ibaseDatadictMapper.getMaxModelkey();
    }

    @Override
    public treeViewVo getDatadictByID(String guid) {
        return ibaseDatadictMapper.getDatadictByID(guid);
    }

}
